<%@taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page pageEncoding="UTF-8"%>
<%@include file="../WEB-INF/jspf/controlesessao.jspf"%>
<c:catch var ="catchException">
    <sql:update var="delete" dataSource="jdbc/dbo_MicrosoftSQLServer">
        delete from Competencias_Docentes
        where id_competencia=? and   matricula=?
        <sql:param value="${param.id_competencia}"/>
        <sql:param value="${param.matricula}"/>
    </sql:update>

    <p><font color='blue'>Registro removido com sucesso!</font></p>
    <form name="form" type="post" action="fm_lista_Competencias_Docentes.jsp">
        <input type="hidden" name="matricula" value="${param.matricula}">
        <input class="submit" type="submit" value="Listar">
    <input type="hidden" id="token" name="token" value="${sessionScope.token}" /> </form>
</c:catch>
<c:if test = "${catchException!=null}">
    Erro : Não foi possível realizar a alteração.<br><br>
</c:if>
